package com.wsd.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Admin entity. @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Integer adminId;
	private String adminName;
	private String adminPass;
	private Set messages = new HashSet(0);
	private Set articleses = new HashSet(0);
	private Set productOrders = new HashSet(0);

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** minimal constructor */
	public Admin(String adminName, String adminPass) {
		this.adminName = adminName;
		this.adminPass = adminPass;
	}

	/** full constructor */
	public Admin(String adminName, String adminPass, Set messages,
			Set articleses, Set productOrders) {
		this.adminName = adminName;
		this.adminPass = adminPass;
		this.messages = messages;
		this.articleses = articleses;
		this.productOrders = productOrders;
	}

	// Property accessors

	public Integer getAdminId() {
		return this.adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getAdminName() {
		return this.adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getAdminPass() {
		return this.adminPass;
	}

	public void setAdminPass(String adminPass) {
		this.adminPass = adminPass;
	}

	public Set getMessages() {
		return this.messages;
	}

	public void setMessages(Set messages) {
		this.messages = messages;
	}

	public Set getArticleses() {
		return this.articleses;
	}

	public void setArticleses(Set articleses) {
		this.articleses = articleses;
	}

	public Set getProductOrders() {
		return this.productOrders;
	}

	public void setProductOrders(Set productOrders) {
		this.productOrders = productOrders;
	}

}